package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈昌吉
 * @since 2024-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("homework")
@ApiModel(value="Homework对象", description="")
public class Homework implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发布作业ID")
    @TableId(value = "hid", type = IdType.AUTO)
    private Integer hid;

    @ApiModelProperty(value = "作业名称")
    private String name;

    @ApiModelProperty(value = "发布作业时间")
    private LocalDateTime starttime;

    @ApiModelProperty(value = "作业结束时间")
    private LocalDateTime endtime;

    @ApiModelProperty(value = "作业要求")
    private String content;


}
